package com.group.DAO;

import com.group.Enity.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseDAO {
    List<House> getHouses(@Param("numbers")String numbers);
    void add(House house);
    void addByInfor(@Param("area")Double area,@Param("numbers")String numbers,
                    @Param("buildingId")int buildingId,@Param("date") String date,
                    @Param("remakrs")String remarks);

    void update(House house);
    void delete(@Param("id")int id);

}
